package etc

type Configuration struct {
	Web       web       `toml:"web"`
	Upload    upload    `toml:"upload"`
	AuthClear authClear `toml:"autoClear"`
}

type web struct {
	Listen string `toml:"listen"`
}

type upload struct {
	Root     string `toml:"root"`
	MaxSize  int64  `toml:"maxsize"`
	HashName bool   `toml:"hashName"`
	KeepExt  bool   `toml:"keepExt"`
}

type authClear struct {
	Enable bool `toml:"enable"`
}
